public class MyArray {
    public Object[] array=new Object[3];
    public Object getPos(int pos){
        return this.array[pos];
    }
    public void setVal(int pos,Object val){
        this.array[pos]=val;
    }
}
